import request from '@/utils/request'

//订单详情
export function orderDetail(query) {
  return request({
    url:'/com.mmk.groupservice.api.AdminGroupOrderProvider/1.0.0/findGroupOrderById.html',
    method:'post',
    data:query
  })
}

//订单列表-项目
export function orderList(query) {
  return request({
    url:'/com.mmk.groupservice.api.AdminGroupOrderProvider/1.0.0/listGroupOrderInfo.html',
    method:'post',
    data:query
  })
}

//订单列表
export function getOrderList(query) {
  return request({
    url:'/com.mmk.groupservice.api.AdminGroupOrderProvider/1.0.0/findGroupOrderList.html',
    method:'post',
    data:query
  })
}

//订单列表-会员购买
export function getVipOrderList(query) {
  return request({
    url:'/com.mmk.groupmember.api.AdminMmkGroupVipGoodProvider/1.0.0/getList.html',
    method:'post',
    data:query
  })
}

//订单退款
export function orderRefund(query) {
  return request({
    url:'/com.mmk.groupservice.api.AdminGroupPayProvider/1.0.0/orderRefund.html',
    method:'post',
    data:query
  })
}

//订单发货
export function orderTrack(query) {
  return request({
    url:'/com.mmk.groupmember.api.AdminMmkGroupVipGoodProvider/1.0.0/updateShipStatus.html',
    method:'post',
    data:query
  })
}
